<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.net.http.model.HttpParamsView</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.net.http.model.HttpParamsView";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.net.http.model.HttpParamsView.html" class="symbol">tango.net.http.model.HttpParamsView</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: April 2004
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">interface <a class="symbol _interface" name="HttpParamsView" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L34" kind="interface" beg="34" end="78">HttpParamsView</a> : IWritable; <a title="Permalink to this symbol" href="#HttpParamsView" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L34">#</a></dt>
<dd class="ddef">
<div class="summary">Maintains a set of query parameters, parsed from an HTTP request.
        Use HttpParams instead for output parameters.</div>
Note that these input params may have been encoded by the user-
        agent. Unfortunately there has been little consensus on what that
        encoding should be (especially regarding GET query-params). With
        luck, that will change to a consistent usage of UTF-8 within the 
        near future.
<dl>
<dt class="decl">uint <a class="symbol _function" name="HttpParamsView.size" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L42" kind="function" beg="42" end="42">size</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#HttpParamsView.size" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L42">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of headers</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="HttpParamsView.get" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L51" kind="function" beg="51" end="51">get</a><span class="params">(char[] <em>name</em>, char[] <em>ret</em> = null)</span>; <a title="Permalink to this symbol" href="#HttpParamsView.get" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L51">#</a></dt>
<dd class="ddef">
<div class="summary">Return the value of the provided header, or null if the
                header does not exist</div></dd>
<dt class="decl">int <a class="symbol _function" name="HttpParamsView.getInt" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L60" kind="function" beg="60" end="60">getInt</a><span class="params">(char[] <em>name</em>, int <em>ret</em> = -1)</span>; <a title="Permalink to this symbol" href="#HttpParamsView.getInt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L60">#</a></dt>
<dd class="ddef">
<div class="summary">Return the integer value of the provided header, or the 
                provided default-value if the header does not exist</div></dd>
<dt class="decl">Time <a class="symbol _function" name="HttpParamsView.getDate" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L69" kind="function" beg="69" end="69">getDate</a><span class="params">(char[] <em>name</em>, Time <em>ret</em> = Time.epoch)</span>; <a title="Permalink to this symbol" href="#HttpParamsView.getDate" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L69">#</a></dt>
<dd class="ddef">
<div class="summary">Return the date value of the provided header, or the 
                provided default-value if the header does not exist</div></dd>
<dt class="decl">void <a class="symbol _function" name="HttpParamsView.produce" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L77" kind="function" beg="77" end="77">produce</a><span class="params">(void delegate (void[]) <em>consume</em>, char[] <em>eol</em>)</span>; <a title="Permalink to this symbol" href="#HttpParamsView.produce" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.model.HttpParamsView.html#L77">#</a></dt>
<dd class="ddef">
<div class="summary">Output the param list to the provided consumer</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:57 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>